package com.example.mapper;

import com.example.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author hongyi
 * @date 2024/1/20 17:06
 */
@Mapper
public interface AdminMapper {
    @Select("select * from admin where username = #{username}")
    Admin selectUsername(String username);
}
